package cn.zspt.vank.service;


import cn.zspt.vank.domain.Dish;
import cn.zspt.vank.domain.User;
import cn.zspt.vank.domain.dto.DishSale;

import java.util.List;
import java.util.Map;

public interface AdminService {
    Map<String,Object> getStatics();
    List<DishSale> getDishSaleSort(String sortType);
    List<User> findAllUser();

    void switchUserState(Integer userId);

    void saveUser(User user);

    List<Dish> findAllDish();

    void updateDish(Dish dish);

    void saveDish(Dish dish);
}
